package com.xinyue.jpa.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.xinyue.jpa.dao.entity.User;

public interface UserDao extends JpaRepository<User, Integer> {
	//条件分页查询
	Page<User> findByAge(int age,Pageable pageable);
}
